package cn.wl.pchart.entity;

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

/**
 * 动态主体的实体类
 */
public class Dynamic {
    // 用户id
    private String id = null;
    // 动态id
    private BigInteger did = null;
    // 动态类型：0 = 图片，-1 = 视频
    private Integer type = null;
    // 发布动态的时间
    private String time = null;
    // 发布动态的文本内容
    private String data = null;
    // 发布动态的媒体文件，以json格式将type、url、名字存入字符串
    private String media = null;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigInteger getDid() {
        return did;
    }

    public void setDid(BigInteger did) {
        this.did = did;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getMedia() {
        return media;
    }

    public void setMedia(String media) {
        this.media = media;
    }

}
